/**
 * 
 */
package kr.co.insoft.core.model.orchestration;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import kr.co.insoft.auth.model.security.User;
import kr.co.insoft.core.model.configration.sev.SEVEntityModel;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
@XmlRootElement
public class ProjectEntityModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1090968918478495235L;
	String projectid;
	String projectName;
	String projectDesc;
	boolean autoCommit;
	Long userid;
	String companyid;
	String updatedDate;
	List<SEVEntityModel> variables;
	String variableTemp;

	public ProjectEntityModel() {

	}

	public void setAuth(User user) {
		this.userid = user.getId();
		this.companyid = user.getCompanyId();
	}

	/**
	 * @return the autoCommit
	 */
	public boolean isAutoCommit() {
		return autoCommit;
	}

	/**
	 * @param autoCommit
	 *            the autoCommit to set
	 */
	public void setAutoCommit(boolean autoCommit) {
		this.autoCommit = autoCommit;
	}

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectDesc() {
		return projectDesc;
	}

	public void setProjectDesc(String projectDesc) {
		this.projectDesc = projectDesc;
	}

	public List<SEVEntityModel> getVariables() {
		return variables;
	}

	public void setVariables(List<SEVEntityModel> variables) {
		this.variables = variables;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	public String getUpdatedDate() {
		return updatedDate;
	}

	public void setUpdatedDate(String updatedDate) {
		this.updatedDate = updatedDate;
	}

	public String getVariableTemp() {
		return variableTemp;
	}

	public void setVariableTemp(String variableTemp) {
		this.variableTemp = variableTemp;
	}

}
